package com.baozun.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TFindMailExample {
    private Integer start;
    private Integer size;
    
    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public TFindMailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStFindMailIdIsNull() {
            addCriterion("ST_FIND_MAIL_ID is null");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdIsNotNull() {
            addCriterion("ST_FIND_MAIL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdEqualTo(String value) {
            addCriterion("ST_FIND_MAIL_ID =", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdNotEqualTo(String value) {
            addCriterion("ST_FIND_MAIL_ID <>", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdGreaterThan(String value) {
            addCriterion("ST_FIND_MAIL_ID >", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdGreaterThanOrEqualTo(String value) {
            addCriterion("ST_FIND_MAIL_ID >=", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdLessThan(String value) {
            addCriterion("ST_FIND_MAIL_ID <", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdLessThanOrEqualTo(String value) {
            addCriterion("ST_FIND_MAIL_ID <=", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdLike(String value) {
            addCriterion("ST_FIND_MAIL_ID like", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdNotLike(String value) {
            addCriterion("ST_FIND_MAIL_ID not like", value, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdIn(List<String> values) {
            addCriterion("ST_FIND_MAIL_ID in", values, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdNotIn(List<String> values) {
            addCriterion("ST_FIND_MAIL_ID not in", values, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdBetween(String value1, String value2) {
            addCriterion("ST_FIND_MAIL_ID between", value1, value2, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStFindMailIdNotBetween(String value1, String value2) {
            addCriterion("ST_FIND_MAIL_ID not between", value1, value2, "stFindMailId");
            return (Criteria) this;
        }

        public Criteria andStEmailIsNull() {
            addCriterion("ST_EMAIL is null");
            return (Criteria) this;
        }

        public Criteria andStEmailIsNotNull() {
            addCriterion("ST_EMAIL is not null");
            return (Criteria) this;
        }

        public Criteria andStEmailEqualTo(String value) {
            addCriterion("ST_EMAIL =", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailNotEqualTo(String value) {
            addCriterion("ST_EMAIL <>", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailGreaterThan(String value) {
            addCriterion("ST_EMAIL >", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailGreaterThanOrEqualTo(String value) {
            addCriterion("ST_EMAIL >=", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailLessThan(String value) {
            addCriterion("ST_EMAIL <", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailLessThanOrEqualTo(String value) {
            addCriterion("ST_EMAIL <=", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailLike(String value) {
            addCriterion("ST_EMAIL like", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailNotLike(String value) {
            addCriterion("ST_EMAIL not like", value, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailIn(List<String> values) {
            addCriterion("ST_EMAIL in", values, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailNotIn(List<String> values) {
            addCriterion("ST_EMAIL not in", values, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailBetween(String value1, String value2) {
            addCriterion("ST_EMAIL between", value1, value2, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStEmailNotBetween(String value1, String value2) {
            addCriterion("ST_EMAIL not between", value1, value2, "stEmail");
            return (Criteria) this;
        }

        public Criteria andStUserIdIsNull() {
            addCriterion("ST_USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andStUserIdIsNotNull() {
            addCriterion("ST_USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStUserIdEqualTo(String value) {
            addCriterion("ST_USER_ID =", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotEqualTo(String value) {
            addCriterion("ST_USER_ID <>", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdGreaterThan(String value) {
            addCriterion("ST_USER_ID >", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("ST_USER_ID >=", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLessThan(String value) {
            addCriterion("ST_USER_ID <", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLessThanOrEqualTo(String value) {
            addCriterion("ST_USER_ID <=", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLike(String value) {
            addCriterion("ST_USER_ID like", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotLike(String value) {
            addCriterion("ST_USER_ID not like", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdIn(List<String> values) {
            addCriterion("ST_USER_ID in", values, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotIn(List<String> values) {
            addCriterion("ST_USER_ID not in", values, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdBetween(String value1, String value2) {
            addCriterion("ST_USER_ID between", value1, value2, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotBetween(String value1, String value2) {
            addCriterion("ST_USER_ID not between", value1, value2, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStFromIsNull() {
            addCriterion("ST_FROM is null");
            return (Criteria) this;
        }

        public Criteria andStFromIsNotNull() {
            addCriterion("ST_FROM is not null");
            return (Criteria) this;
        }

        public Criteria andStFromEqualTo(String value) {
            addCriterion("ST_FROM =", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromNotEqualTo(String value) {
            addCriterion("ST_FROM <>", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromGreaterThan(String value) {
            addCriterion("ST_FROM >", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromGreaterThanOrEqualTo(String value) {
            addCriterion("ST_FROM >=", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromLessThan(String value) {
            addCriterion("ST_FROM <", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromLessThanOrEqualTo(String value) {
            addCriterion("ST_FROM <=", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromLike(String value) {
            addCriterion("ST_FROM like", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromNotLike(String value) {
            addCriterion("ST_FROM not like", value, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromIn(List<String> values) {
            addCriterion("ST_FROM in", values, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromNotIn(List<String> values) {
            addCriterion("ST_FROM not in", values, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromBetween(String value1, String value2) {
            addCriterion("ST_FROM between", value1, value2, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStFromNotBetween(String value1, String value2) {
            addCriterion("ST_FROM not between", value1, value2, "stFrom");
            return (Criteria) this;
        }

        public Criteria andStToIsNull() {
            addCriterion("ST_TO is null");
            return (Criteria) this;
        }

        public Criteria andStToIsNotNull() {
            addCriterion("ST_TO is not null");
            return (Criteria) this;
        }

        public Criteria andStToEqualTo(String value) {
            addCriterion("ST_TO =", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToNotEqualTo(String value) {
            addCriterion("ST_TO <>", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToGreaterThan(String value) {
            addCriterion("ST_TO >", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToGreaterThanOrEqualTo(String value) {
            addCriterion("ST_TO >=", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToLessThan(String value) {
            addCriterion("ST_TO <", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToLessThanOrEqualTo(String value) {
            addCriterion("ST_TO <=", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToLike(String value) {
            addCriterion("ST_TO like", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToNotLike(String value) {
            addCriterion("ST_TO not like", value, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToIn(List<String> values) {
            addCriterion("ST_TO in", values, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToNotIn(List<String> values) {
            addCriterion("ST_TO not in", values, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToBetween(String value1, String value2) {
            addCriterion("ST_TO between", value1, value2, "stTo");
            return (Criteria) this;
        }

        public Criteria andStToNotBetween(String value1, String value2) {
            addCriterion("ST_TO not between", value1, value2, "stTo");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeIsNull() {
            addCriterion("ST_CHECK_CODE is null");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeIsNotNull() {
            addCriterion("ST_CHECK_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeEqualTo(String value) {
            addCriterion("ST_CHECK_CODE =", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeNotEqualTo(String value) {
            addCriterion("ST_CHECK_CODE <>", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeGreaterThan(String value) {
            addCriterion("ST_CHECK_CODE >", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ST_CHECK_CODE >=", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeLessThan(String value) {
            addCriterion("ST_CHECK_CODE <", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeLessThanOrEqualTo(String value) {
            addCriterion("ST_CHECK_CODE <=", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeLike(String value) {
            addCriterion("ST_CHECK_CODE like", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeNotLike(String value) {
            addCriterion("ST_CHECK_CODE not like", value, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeIn(List<String> values) {
            addCriterion("ST_CHECK_CODE in", values, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeNotIn(List<String> values) {
            addCriterion("ST_CHECK_CODE not in", values, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeBetween(String value1, String value2) {
            addCriterion("ST_CHECK_CODE between", value1, value2, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStCheckCodeNotBetween(String value1, String value2) {
            addCriterion("ST_CHECK_CODE not between", value1, value2, "stCheckCode");
            return (Criteria) this;
        }

        public Criteria andStSubjectIsNull() {
            addCriterion("ST_SUBJECT is null");
            return (Criteria) this;
        }

        public Criteria andStSubjectIsNotNull() {
            addCriterion("ST_SUBJECT is not null");
            return (Criteria) this;
        }

        public Criteria andStSubjectEqualTo(String value) {
            addCriterion("ST_SUBJECT =", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectNotEqualTo(String value) {
            addCriterion("ST_SUBJECT <>", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectGreaterThan(String value) {
            addCriterion("ST_SUBJECT >", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("ST_SUBJECT >=", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectLessThan(String value) {
            addCriterion("ST_SUBJECT <", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectLessThanOrEqualTo(String value) {
            addCriterion("ST_SUBJECT <=", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectLike(String value) {
            addCriterion("ST_SUBJECT like", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectNotLike(String value) {
            addCriterion("ST_SUBJECT not like", value, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectIn(List<String> values) {
            addCriterion("ST_SUBJECT in", values, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectNotIn(List<String> values) {
            addCriterion("ST_SUBJECT not in", values, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectBetween(String value1, String value2) {
            addCriterion("ST_SUBJECT between", value1, value2, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStSubjectNotBetween(String value1, String value2) {
            addCriterion("ST_SUBJECT not between", value1, value2, "stSubject");
            return (Criteria) this;
        }

        public Criteria andStStatusIsNull() {
            addCriterion("ST_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStStatusIsNotNull() {
            addCriterion("ST_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStStatusEqualTo(String value) {
            addCriterion("ST_STATUS =", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusNotEqualTo(String value) {
            addCriterion("ST_STATUS <>", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusGreaterThan(String value) {
            addCriterion("ST_STATUS >", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusGreaterThanOrEqualTo(String value) {
            addCriterion("ST_STATUS >=", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusLessThan(String value) {
            addCriterion("ST_STATUS <", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusLessThanOrEqualTo(String value) {
            addCriterion("ST_STATUS <=", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusLike(String value) {
            addCriterion("ST_STATUS like", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusNotLike(String value) {
            addCriterion("ST_STATUS not like", value, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusIn(List<String> values) {
            addCriterion("ST_STATUS in", values, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusNotIn(List<String> values) {
            addCriterion("ST_STATUS not in", values, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusBetween(String value1, String value2) {
            addCriterion("ST_STATUS between", value1, value2, "stStatus");
            return (Criteria) this;
        }

        public Criteria andStStatusNotBetween(String value1, String value2) {
            addCriterion("ST_STATUS not between", value1, value2, "stStatus");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIsNull() {
            addCriterion("DT_CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIsNotNull() {
            addCriterion("DT_CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME =", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME <>", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeGreaterThan(Date value) {
            addCriterion("DT_CREATE_TIME >", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME >=", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeLessThan(Date value) {
            addCriterion("DT_CREATE_TIME <", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME <=", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIn(List<Date> values) {
            addCriterion("DT_CREATE_TIME in", values, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotIn(List<Date> values) {
            addCriterion("DT_CREATE_TIME not in", values, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeBetween(Date value1, Date value2) {
            addCriterion("DT_CREATE_TIME between", value1, value2, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("DT_CREATE_TIME not between", value1, value2, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIsNull() {
            addCriterion("DT_UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIsNotNull() {
            addCriterion("DT_UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME =", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME <>", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeGreaterThan(Date value) {
            addCriterion("DT_UPDATE_TIME >", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME >=", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeLessThan(Date value) {
            addCriterion("DT_UPDATE_TIME <", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME <=", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIn(List<Date> values) {
            addCriterion("DT_UPDATE_TIME in", values, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotIn(List<Date> values) {
            addCriterion("DT_UPDATE_TIME not in", values, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("DT_UPDATE_TIME between", value1, value2, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("DT_UPDATE_TIME not between", value1, value2, "dtUpdateTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_find_mail
     *
     * @mbggenerated do_not_delete_during_merge Tue Jan 20 10:24:44 CST 2015
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_find_mail
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}